package com.tm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author huangp
 * @create 2023-04-05 10:25
 */
@Data
public class CreateAllEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime = new Date();// datetime comment '创建时间',
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField("update_time")
    private Date updateTime = new Date();// datetime comment '更新时间',
    @TableField("create_user")
    private Integer createUser = 0;// datetime comment '创建人',
    @TableField("update_user")
    private Integer updateUser = 0;// datetime comment '修改人',

}
